﻿using System;
using System.ComponentModel.Composition;

namespace OnlineGameLibrary.Game
{
    [MetadataAttribute]
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public class ExportGameCreatorAttribute : ExportAttribute
    {
        public ExportGameCreatorAttribute()
            : base(typeof(IGameCreator))
        { }
        public string IdentityName { set; get; }
    }

    public interface IGameCreatorAttributes
    {
        string IdentityName { get; }
    }
}
